<template>
  <div>
    <el-form-item label="链接地址" prop="type">
      <el-input v-model="form.url"></el-input>
    </el-form-item>
  </div>

</template>
<script>
  import handler from './handler'

  export default {
    name: 'vpd-action-link',
    title: '打开链接',
    handler: handler,
    props: {
      data: {
        type: Object
      }
    },
    data() {
      return {
        form: {
          url: ''
        }
      }
    },
    beforeMount() {
      Object.assign(this.form, this.data);
    },
    methods: {
      getForm() {
        return this.form;
      }
    }
  }
</script>
